input colouring
coloured input in cliflect
coloured input
import cliflect
console=cliflect.console()
@console.cmd('in')
def inp(text):
console.read('hi: ', color='red')
console.run()
attributes are same of echo
- output:
the ‘hi: ‘ will be shown in color white or text color set for terminal and the text after ‘hi: ‘(input) will be in red, you can decorate it